package com.shixun.hospital.service.impl;

import com.shixun.hospital.mapper.Hosptalmapper;
import com.shixun.hospital.model.Hospital;
import com.shixun.hospital.service.HospitalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;
@Service
public class HospitalServiceImpl implements HospitalService {
    @Autowired
    private Hosptalmapper hosptalmapper;
    @Override
    public List<Hospital> ListHospital() {
        return hosptalmapper.ListHospital();
    }
}
